package com.itheima.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.dto.returnReason;
import com.itheima.dto.returnReasonDto;
import com.itheima.pojo.OmsOrderReturnApply;
import com.itheima.vo.MinioVo;
import com.itheima.vo.PageResult;

/**
 * @author 芝士雪豹
 * @create 2022/10/15/17:22
 */
public interface OmsOrderReturnApi {
    //添加退货原因
    MinioVo create(returnReasonDto dto);
    //批量删除退货原因
    MinioVo delete(Integer[] ids);
    //分页查询退货原因
    Page<OmsOrderReturnApply> list(String createTime, String handleMan, String handleTime, Integer id, Integer pageNum, Integer pageSize, String receiverKeyword, Integer status);
    //修改退货原因启用状态
    MinioVo updateStatus(Integer[] ids, Integer status);
    //修改退货原因
    MinioVo updateById(Integer id, returnReason dto);
    //获取单个退货原因详情信息
    MinioVo findOne(Integer id);
}
